/**
 * 
 */
package com.javamsg;

/**
 * @author soyang
 *
 */
public interface CommonConstant {
	public static final String VERSION = "1_lbt4_0#128#002421A14C1F#0#0#0";
	public static final int PORT	= 2425;
	public static final int MAX_ATTEMPT_TIME = 4;
	public static final int DEFAULT_BUFFER_SIZE = 8192;		// from ipmsg
	public static final int MAX_ATTACHMENTS_LENGTH = 3 ;
	
	// file type
	public static final String REGULAR_FILE = "file";
	public static final String DIRECTORY = "dir";
	
	public static final String CUSTOM_CONFIG_FILE = "custom.properties";
	public static final String P_NICKNAME = "nickname";
	public static final String P_ENCODING = "encoding";
	public static final String P_AVATAR_ICON = "avataricon";
	public static final String DEFAULT_ICON = "icon-qq.png";
	
	public static final String DEFAULT_ENCODING = "GB18030";
	
	public static final String[] OPEN_FILTER_EXTENSIONS = new String[] {
		"*.bmp; *.gif; *.ico; *.jpeg; *.jpg; *.png; ",
		"*.bmp", "*.gif", "*.ico", "*.jpg; *.jpeg; ", "*.png" };
}
